import { createPinia } from 'pinia'
import persist from 'pinia-plugin-persistedstate'
// const modulesFiles = import.meta.glob('../modules/**/*.js')
const pinia = createPinia()
pinia.use(persist)
export default pinia
export * from './modules/user'
export * from './modules/settings'
// 导入modules文件夹下的所有js文件，包含子文件夹下的js文件
// const modulesFiles = import.meta.glob('./modules/**/*.js')
